package com.aktk.battlenole;

import java.util.ArrayList;

import com.aktk.battlenole.SetupGameBoardActivity.shipStruct;

public class Shipyard {

    private static Shipyard sy;
    private ArrayList<shipStruct> dockedBoats;
    
    private Shipyard() {
    }
    
    public static Shipyard getInstance() {
        if(sy == null) {
            sy = new Shipyard();
        }
        return sy;
    }
    
    public void loadNavy(ArrayList<shipStruct> dockingBoats) {
        dockedBoats = dockingBoats;
    }
    
    public ArrayList<shipStruct> getBoatArray() {
        return dockedBoats;
    }
    
    
    
}
